home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIXTFGenericElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  92 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXTFGenericElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXTFGenericElement_h__
  6. #define __gen_nsIXTFGenericElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIXTFElement_h__
  10. #include "nsIXTFElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIXTFGenericElementWrapper; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIXTFGenericElement */
  21. #define NS_IXTFGENERICELEMENT_IID_STR "e339eb1d-3ea8-4c85-87ce-644eb7a19034"
  22.  
  23. #define NS_IXTFGENERICELEMENT_IID \
  24.   {0xe339eb1d, 0x3ea8, 0x4c85, \
  25.     { 0x87, 0xce, 0x64, 0x4e, 0xb7, 0xa1, 0x90, 0x34 }}
  26.  
  27. class NS_NO_VTABLE nsIXTFGenericElement : public nsIXTFElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXTFGENERICELEMENT_IID)
  31.  
  32.   /* void onCreated (in nsIXTFGenericElementWrapper wrapper); */
  33.   NS_IMETHOD OnCreated(nsIXTFGenericElementWrapper *wrapper) = 0;
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIXTFGENERICELEMENT \
  39.   NS_IMETHOD OnCreated(nsIXTFGenericElementWrapper *wrapper); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIXTFGENERICELEMENT(_to) \
  43.   NS_IMETHOD OnCreated(nsIXTFGenericElementWrapper *wrapper) { return _to OnCreated(wrapper); } 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_NSIXTFGENERICELEMENT(_to) \
  47.   NS_IMETHOD OnCreated(nsIXTFGenericElementWrapper *wrapper) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnCreated(wrapper); } 
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsXTFGenericElement : public nsIXTFGenericElement
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIXTFGENERICELEMENT
  58.  
  59.   nsXTFGenericElement();
  60.  
  61. private:
  62.   ~nsXTFGenericElement();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsXTFGenericElement, nsIXTFGenericElement)
  70.  
  71. nsXTFGenericElement::nsXTFGenericElement()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsXTFGenericElement::~nsXTFGenericElement()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* void onCreated (in nsIXTFGenericElementWrapper wrapper); */
  82. NS_IMETHODIMP nsXTFGenericElement::OnCreated(nsIXTFGenericElementWrapper *wrapper)
  83. {
  84.     return NS_ERROR_NOT_IMPLEMENTED;
  85. }
  86.  
  87. /* End of implementation class template. */
  88. #endif
  89.  
  90.  
  91. #endif /* __gen_nsIXTFGenericElement_h__ */
  92.